<template>
	<view>
		<web-view :src="href"></web-view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				href:''
			}
		},
		mounted() {
			this.getData
		},
		methods: {
			
		},
		
		onLoad(options) {
			console.log(options);
			const {href,title}=this.options;
			this.href = 'http://101.96.128.94:9999/'+href;
			//设置title为当前页的标题
			uni.setNavigationBarTitle({
				title
			});
		}
	}
</script>

<style>

</style>
